﻿using ContactSMS.Domain.Entity;

namespace ContactSMS.Domain
{
    public interface IPhoneRepository
    {
        Task<Phone?> AddPhoneAsync(Phone Phone);
        Task<Phone> GetPhoneByIdAsync(long id);
        Task<Phone> GetPhoneByMobileAsync(string mobile);
        Task<List<Phone>?> GetPhoneByContactIdAsync(long ContactId);
        Task<List<Phone>?> DeletePhoneByContactIdAsync(long ContactId);
        Task<List<Phone>?> DeletePhoneByContactIdsAsync(long[] ContactId);
    }
}
